includes KrzytomMsg;

configuration Krzytom { }
implementation
{
  components Main, KrzytomM, TimerC, LedsC, GenericComm as Comm, UARTComm
/*#ifdef PLATFORM_PC
			 ,CC1000RadioC
#else
			 ,CC2420RadioC
#endif*/
  ;

  Main.StdControl -> KrzytomM;
  Main.StdControl -> TimerC;
  
  KrzytomM.Timer -> TimerC.Timer[unique("Timer")];
  KrzytomM.Leds -> LedsC;
  KrzytomM.CommControl -> Comm;
  KrzytomM.ReceiveMsg -> Comm.ReceiveMsg[AM_KRZYTOMSG];
  KrzytomM.SendMsg -> Comm.SendMsg[AM_KRZYTOMSG];
  KrzytomM.UARTCommControl -> UARTComm;
  KrzytomM.UARTSend -> UARTComm.SendMsg[AM_KRZYTOMSG];
/*#ifdef PLATFORM_PC
  KrzytomM.CC1000Control -> CC1000RadioC;
#else
  KrzytomM.CC2420Control -> CC2420RadioC;
#endif*/
}
